package com.liukai.exam.utils;

import java.util.HashMap;
import java.util.List;

/**
 * @author liukai
 * @version 1.0.0
 * @ClassName Constant.java
 * @Description 常量
 * @createTime 2021年02月09日 14:00:00
 */
public class Constant {

    public static final int EXAM_MANAGE_ADD_FILED_NAME_EXIST = -1;

//    试卷大题编号
    public static final int ONE_CHOICE = 0;
    public static final int MORE_CHOICE = 1;
    public static final int JUDGE = 2;
    public static final int FILL = 3;
    public static final int APPLICATION = 4;

    //    大题名称数组
    public static final String[] BIG_QUE_NAME = new String[]{"单选题", "多选题", "判断题", "填空题", "应用题"};


    //    根据大题编号获取大题名称
    public static String getQueNameByIndex(int bigQuestionIndex) {
        return BIG_QUE_NAME[bigQuestionIndex];
    }

}
